package com.znufe.exam.viewmodel.admin.exam;

import com.znufe.exam.base.BasePage;
import lombok.Data;

@Data
public class ExamPaperPageRequestVM extends BasePage {

    private Integer id;

    private Integer subjectId;

    private Integer level;

    private String name;

    private Integer paperType;

    private Integer taskExamId;

    public static ExamPaperPageRequestVM wipeBlank(ExamPaperPageRequestVM model) {
        if (model.getName() != null) {
            model.setName(model.getName().trim());
        }
        return model;
    }

}
